use GSI_AP2

create table t (i int, j int) on <o nome do partitionschema>(i)
  declare @i int
  set @i = 0
  while @i < 1000000
  begin
     insert into tpart1 values(@i,-@i)
     set @i = @i+1
  end

